home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 32 / Mac Magazin and MacEasy Magazine CD - Issue 32.iso / Grafik & Text / OzTeX3.0 / MetaPost / Inputs / TEX.mp < prev    next >
Text File  |  1996-08-24  |  322b  |  10 lines

  1. % This file defines TEX <string_primary> to return the picture
  2. % resulting from running the string through tex.  It is slow,
  3. % but more general than the standard btex..etex construction
  4.  
  5. vardef TEX primary s =
  6.   write "btex "&s&" etex" to "mptextmp.mp";
  7.   write EOF to "mptextmp.mp";
  8.   scantokens "input mptextmp"
  9. enddef;
  10.